<script setup lang="ts">
import Tools from "@likg/tools";
import BindPhone from "comps/@lgs/BindPhone/BindPhone.vue";
const env = Tools.getEnv();
// -- imports
import { onMounted } from "vue";
import { useRoute, useRouter } from "vue-router";
import {api} from "@/api/apiServer";

// -- constants
const route = useRoute();
const router = useRouter();
const channelId = route.query.channelId;
onMounted(() => {
    if(channelId){
        localStorage.setItem("channelId", channelId as string);
    }
});
</script>
<template>
    <div class="page">
        <app-header v-if="env !== 'weixin'" title="激活验证" :showBack="true" :show-status-bar="false" />
        <BindPhone />
    </div>
</template>
<style lang="less" scoped>

</style>
